<form class="form-horizontal" role="form" action="{:url('doadd')}" method="POST">
	<div class="form-group">
		<label for="firstname" class="col-sm-2 control-label">用户名</label>
		<div class="col-sm-6">
			<input type="text" class="form-control" id="uname" name="uname" placeholder="请输入用户名">
		</div>
	</div>
	<div class="form-group">
		<label for="firstname" class="col-sm-2 control-label">密码</label>
		<div class="col-sm-6">
			<input type="password" class="form-control" id="pwd" name="pwd" placeholder="请输入密码">
		</div>
	</div>
	<div class="form-group">
		<label for="firstname" class="col-sm-2 control-label">姓名</label>
		<div class="col-sm-6">
			<input type="text" class="form-control" id="name" name="name" placeholder="请输入姓名">
		</div>
	</div>
	<div class="form-group">
		<label for="firstname" class="col-sm-2 control-label">电话</label>
		<div class="col-sm-6">
			<input type="text" class="form-control" id="phone" name="phone" placeholder="请输入电话">
		</div>
	</div>
	<div class="form-group">
		<label for="firstname" class="col-sm-2 control-label">角色</label>
		<div class="col-sm-6">
			 <select class="form-control" name = 'rid'>
			 {volist name="role" id="vo"}
			      <option value="{$vo.id}">{$vo.name}</option>
		     {/volist}
		    </select>
		</div>
	</div>
	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-6">
			<button type="submit" class="btn btn-info">提交</button>
		</div>
	</div>
</form>